<template>
    <div>
        <top-label v-model="index">
            <span :slot="0">闭库提醒</span>
            <span :slot="1">闭库程序</span>
        </top-label>
        <el-row>
            <keep-alive>
                <closed-reminder-body v-if="index===0"></closed-reminder-body>
                <close-procedure v-if="index===1"></close-procedure>
            </keep-alive>
        </el-row>
    </div>
</template>

<script>
    import TopLabel from "~/components/TopLabel";
    import CloseProcedure from "~/views/safety-management/closed-reminder/CloseProcedure";
    import ClosedReminderBody from "~/views/safety-management/closed-reminder/ClosedReminderBody";
    export default {
        name: "ClosedReminder",
        components:{
            ClosedReminderBody,
            CloseProcedure,
            TopLabel,
        },
        data(){
            return{
                index:0
            }
        }
    }
</script>

<style scoped>

</style>
